﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Download_Type_Manage.aspx.cs" Inherits="Admin_Download_Type_Manage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>管理信管系简介-河北大学管理学院信息管理系</title>
    <meta name="Keywords" content="河北大学管理学院信息管理系" />
    <meta name="Description" content="河北大学管理学院信息管理系官方网站" />
    <meta name="Author" content="朱胜贤、孙旭峰、水亚亚、张文元、项玥、吕芳、吴凡、谢静、李亚慧" />
    <meta name="Copyright" content="本系统版权归 河北大学信管团队 所有。All Rights Reserved" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="../CSS/AD_Pub.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div id="Container">
        <div id="Header">管理下载类别</div>
        <div id="Pagebody">
            <div class="line1">
                <div class="lineLeft">下载类别：</div>
                <div class="lineRight">
                <asp:TextBox ID="txtName" runat="server"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ErrorMessage="*下载类别不能为空" ForeColor="red" ControlToValidate="txtName"></asp:RequiredFieldValidator>
                <asp:Label ID="lblType" runat="server" Visible="false" Text=""></asp:Label>
                </div>
            </div>
            <div class="line6">
                <div class="lineLeft">类别说明：</div>
                <div class="lineRight">
                <asp:TextBox ID="txtInto" runat="server" TextMode="MultiLine" Rows="7" Columns="40"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ControlToValidate="txtInto" runat="server" ErrorMessage="*类别说明不能为空" ForeColor="red"></asp:RequiredFieldValidator>
                </div>
            </div>
            <div id="bottom">
                <asp:Button ID="btnOK" CssClass="btn" runat="server" Text="确 定" OnClick="btnOK_Click" />
                &nbsp;
                <asp:Button ID="btnCancel" CssClass="btn" runat="server" Text="取 消" CausesValidation="False"
                    OnClick="btnCancel_Click" />
            </div>
            <hr/>
            <asp:Label ID="lblMessage" Text="" runat="server"></asp:Label>
            <asp:GridView ID="GV" runat="server" AutoGenerateColumns="False" 
                CellPadding="3" onrowcreated="GV_RowCreated" GridLines="Vertical" 
                onrowdeleting="GV_RowDeleting" EmptyDataText="没有任何数据！">
            <Columns>
                <asp:BoundField DataField="typeName" HeaderText="类别名称" />   
                <asp:BoundField DataField="typeIntro" HeaderText="类别说明" />
                <asp:HyperLinkField DataNavigateUrlFields="typeName" 
                    DataNavigateUrlFormatString="Download_Type_Manage.aspx?downType={0}" 
                    Text="编辑"/>       
                <asp:CommandField ShowDeleteButton="True" DeleteText="&lt;div id=&quot;de&quot; onclick=&quot;JavaScript:return confirm('确定删除吗？')&quot;&gt;删除&lt;/div&gt;"/>     
            </Columns>
            <RowStyle CssClass="gv_row"/>
                    <SelectedRowStyle CssClass="gv_sel"/>
                    <PagerStyle CssClass="gv_pag"/>
                    <HeaderStyle CssClass="gv_hea"/>
                    <AlternatingRowStyle CssClass="gv_alt"/>
                    <FooterStyle CssClass="gv_foo"/>
            </asp:GridView>
        </div>
        
    </div>
    </form>
</body>
</html>
